package org.wlldTest.lesson9;

import org.dromara.easyai.entity.ThreeChannelMatrix;
import org.dromara.easyai.i.OutBack;
import org.dromara.easyai.matrixTools.Matrix;

import java.util.List;

public class Back2 implements OutBack {
    private float out = -1;//概率
    private int id = 0;

    public float getOut() {
        return out;
    }

    public int getId() {
        return id;
    }

    public void clear() {
        out = -1;
        id = 0;
    }

    @Override
    public void getBack(float v, int i, long l) {
        if (v > out) {
            id = i;
            out = v;
        }
    }

    @Override
    public void getSoftMaxBack(long l, List<Float> list) {

    }


    @Override
    public void backWord(String s, long l) {

    }

    @Override
    public void getBackMatrix(Matrix matrix, int id, long l) {

    }


    @Override
    public void getWordVector(int i, float v) {

    }

    @Override
    public void getBackThreeChannelMatrix(ThreeChannelMatrix threeChannelMatrix) {

    }


}
